"""
supper关键字
    supper 指的是当前类的父类
"""
class Person:

    def __init__(self, name, age):
        print('父类的init')
        self.name = name
        self.age = age

    def speak(self):
        print(f'我叫{self.name},今年{self.age}')


class Student(Person):

    def __init__(self):
        # super().__init__('<UNK>', 18)
        print(super())
        print('子类的init')


if __name__ == '__main__':
    s = Student()